package com.chendx.store.api.comment;

import com.chendx.model.common.dtos.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

/**
 * Created by chendx on 2022/5/13.
 */
public interface FileControllerApi {
    /**
     * 上传评论图片
     * @param imgFile
     * @return
     */
    public ResponseResult uploadImg(MultipartFile imgFile);

    /**
     * 删除图片
     * @param filePath
     * @return
     */
    public ResponseResult handleRemove(String filePath);

    /**
     * 删除多张图片
     * @param filePaths
     * @return
     */
    public ResponseResult handlesRemove(String filePaths);
}
